# data = [0,2,3,5]
# print('数组长度', len(data))
# for index, item in enumerate(data):
#     print(index, item)


# data2 = {
#     "001": {
#         "uuid": '001',
#         'name': '测试一'
#     },
#     "002": {
#         "uuid": '002',
#         'name': '测试一'
#     },
# }

# print(data2)
# for index, item in enumerate(data2):
#     print(index, data2[item]['name'])
#     # print(index, item, item['uuid'], item['name'])


# my_answer = {}

# for i in range(20):
#     my_answer['data[' + str(i) + ']'] = i

# print(my_answer)

# data = list(my_answer.keys())[-5:]
# print(data)

# for item in data:
#     print(item)
#     my_answer[item] = 'A'

# print(my_answer)


answer = {
	'usedTime': '60',
	'resultId': 'CE47EDC9-21D8-40BE-8AFC-AC0A91C8EC4B',
	'examId': 'FC49289C-BDAE-4C6A-A60D-7964206B5B2C',
	'buildId': '1EFACCF6-89DD-44C4-AAC8-CCDE24686EEA',
	'submitType': 'compel',
	'type': 'normal',
	'data[55207AA0-2484-4C5A-9AB2-C05F6FD2394F][0]': '1',
	'data[4666AB27-1895-43E7-9BEA-B28D9D790415][0]': '3',
	'data[3C62A0AF-2464-48EF-B728-22503BC92AF1][0]': '3',
	'data[1BCC2A16-A7DD-4C87-B134-A598BABE047F][0]': '3',
	'data[F4BA333A-FFEB-4F3F-8F47-BD929FFEE0F4][0]': '3',
	'data[DA9A039C-31A0-4666-AC9B-4E8BF4369318][0]': '0',
	'data[DA9A039C-31A0-4666-AC9B-4E8BF4369318][1]': '1',
	'data[DA9A039C-31A0-4666-AC9B-4E8BF4369318][2]': '2',
	'data[DA9A039C-31A0-4666-AC9B-4E8BF4369318][3]': '3',
	'data[33803F9A-B143-496D-BB6D-43BC0A1C522F][0]': '3',
	'data[33803F9A-B143-496D-BB6D-43BC0A1C522F][1]': '4',
	'data[E2D6CB13-8168-4C6C-8EAE-95A16F1F5DF0][0]': '1',
	'data[E2D6CB13-8168-4C6C-8EAE-95A16F1F5DF0][1]': '3',
	'data[E2D6CB13-8168-4C6C-8EAE-95A16F1F5DF0][2]': '4',
	'data[689906B0-655F-4549-8901-410C29B01547][0]': '0',
	'data[689906B0-655F-4549-8901-410C29B01547][1]': '1',
	'data[689906B0-655F-4549-8901-410C29B01547][2]': '2',
	'data[689906B0-655F-4549-8901-410C29B01547][3]': '3',
	'data[BC05B46D-1A53-4DBC-B6CE-0B627421C88D][0]': '0',
	'data[BC05B46D-1A53-4DBC-B6CE-0B627421C88D][1]': '1',
	'data[BC05B46D-1A53-4DBC-B6CE-0B627421C88D][2]': '2',
	'data[BC05B46D-1A53-4DBC-B6CE-0B627421C88D][3]': '3',
	'data[459E1FF6-CA9D-44E8-BB30-DD0A7E7C87B2][0]': '0',
	'data[8C28B04B-EC5B-4C34-AE48-2A9A4B42B2FE][0]': '1',
	'data[F2B1F1F7-E7BA-4978-A3FA-7B46AABB9EA4][0]': '1',
	'data[C057162E-90EF-4BE7-8352-41E2010AB4D5][0]': '1',
	'data[8B6DA15E-4838-4BCE-AFDD-62E6EB53DB97][0]': '1'
}

last5 = list(answer.keys())[-5:]
print(last5)

for item_last5 in last5:
    answer[item_last5] = '0'

print(answer)

# for item in data:
#     print(item)
#     my_answer[item] = 'A'